<script>
	function show()
	{
		var win = window.showModalDialog("mdContent.html","param","");
		document.getElementById("result").innerHTML = win;
	}
</script>
<button id="btn" onclick="show();">Show</button>
<div id="result"></div>